{% extends "base.html" %} {% block title %}Earnings - Quick Care Connect{% endblock %} {% block content %}
| Date | Type | Description | Amount (PKR) |
|---|---|---|---|
| {{ t.created_at.strftime('%d %b %Y %H:%M') if t.created_at else '-' }} | {% if t.transaction_type == 'earning' %} Earning {% elif t.transaction_type == 'penalty' %} Penalty {% elif t.transaction_type == 'withdrawal' %} Withdrawal {% else %} {{ t.transaction_type }} {% endif %} | {{ t.description[:50] }}{% if t.description|length > 50 %}...{% endif %} |
{{ "%+.2f"|format(t.amount) }}
{% if t.commission_deducted and t.amount > 0 %}
(commission −{{ "%.2f"|format(t.commission_deducted) }}) {% endif %} |
No transactions yet. Earnings appear after completed consultations (24h review window).
Minimum withdrawal: PKR {{ "%.0f"|format(min_payout) }}. Admin will process your request.
{% if doctor.balance < min_payout %} Balance below minimum (PKR {{ "%.0f"|format(min_payout) }}) {% endif %}